﻿using System.IO;
using System.ServiceModel;

namespace VMukti.Bussiness.WCFServices.BootStrapServices.BasicHttp
{
    [ServiceContract]
    public interface IHttpPresentationUploadService
    {
        [OperationContract(IsOneWay = true)]
        void svcHttpJoin();

        [OperationContract(IsOneWay = true)]
        void svcHttpSendUploadedFile(string strFileName, byte[] bytearr, int intSig);

        [OperationContract(IsOneWay = false)]
        string[] svcHttpGetPresentationName();

        [OperationContract(IsOneWay = false)]
        int svcHttpSlidesCount(string PName);

        [OperationContract(IsOneWay = false)]
        Stream svcHttpGetSlideStream(byte[] pnameCnt);

        [OperationContract(IsOneWay = false)]
        bool svcHttpPPTExists(string filename);

        [OperationContract(IsOneWay = true)]
        void svcHttpUnJoin();

    }

    public interface IHttpPresentationUploadServiceChannel : IHttpPresentationUploadService, IClientChannel
    {
    }
}
